<? $this->render('header') ?>
<h4>文件上传</h4>
<form action="" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
  <tr>
    <th width="100" align="right">选择文件</th>
    <td><input type="file" name="file" size="25" /></td>
  </tr>
  <tr>
    <th width="100" align="right">&nbsp;</th>
    <td><input type="submit" name="save" value=" 上传 " /></td>
  </tr>
</table>
</form>
<p><a href="<?=$this->url(array('controller' => 'example', 'action' => 'index'), true)?>">返回示例首页</a></p>
<? $this->render('footer') ?>